import request from '../utils/request';
import axios from 'axios'
let baseUrl='http://jx.xuzhixiang.top/ap/api'


//商品列表
export const GET=(url,params)=>{
	return axios.get(`${baseUrl}${url}`,{params:params}).then(data=>data)
}

export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};
